package loop;

public class Date_2 {
    public static void main(String[] args) {
        int sum = 0 ;
        for (int i = 1900; i <= 2021; i++) {
            sum += 365 ;
            if( ( i % 4 == 0 && i % 100 != 0) || i % 400 ==0 ){
                sum++;
            }
        }
        sum = sum - 31 - 30 - 31 + 1;
        System.out.println( sum + "天");
    }
}
